package org.lex.collection.tree.diff;

import java.util.List;

import org.lex.collection.tree.ITreeNode;

public interface INodeComparator {
	public DiffSet compareNodes(DiffSet result, List<ITreeNode> oldNodes, List<ITreeNode> newNodes);

	public DiffSet compareNodes(DiffSet result, ITreeNode[] oldNodes, ITreeNode[] newNodes);

	public boolean isUpdate(Diff<ITreeNode> diff);
}
